﻿#region Copyright
/// <copyright>
/// Copyright (c) 2008 Ilia Shramko.
/// Released under the terms of the GNU General Public License.
/// </copyright>
#endregion

using System;
using System.Collections.Generic;
using System.Text;

namespace Osh
{
	public interface IServiceRegistry : IServiceProvider, Osh.Scripting.IScriptingServiceProvider
	{
		void RegisterService(object service);
		void RegisterService(Type serviceType, object service);
		void UnregisterService(Type serviceType);

		T GetService<T>();
	}
}
